//
//  HStackPage.swift
//  PracticeDemo
//
//  Created by 顾浩然 on 2025/1/22.
//

import SwiftUI

struct HStackPage: View {
    var body: some View {
        HStack(
            alignment: .center,
            spacing: 50
        ){
            Text("i like china")
            Text("make america great again")
        }.padding() //添加一个默认的内边距
    }
}

struct HStackPage_Previews: PreviewProvider {
    static var previews: some View {
        HStackPage()
    }
}
